package bo2s.data;

public class Article {
private int	id;// INT(11) NOT NULL AUTO_INCREMENT,
private String name;// VARCHAR(255) NULL DEFAULT NULL,
private String description;// VARCHAR(255) NULL DEFAULT NULL,
private String 	content;// TEXT NULL DEFAULT NULL,
private int  published;// INT NULL DEFAULT NULL,
private String	created;// VARCHAR(10) NULL DEFAULT NULL,
private int category_id; //INT(11) NOT NULL,
private int user_id;// INT(11) NOT NULL,
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
public String getContent() {
	return content;
}
public void setContent(String content) {
	this.content = content;
}
public int getPublished() {
	return published;
}
public void setPublished(int published) {
	this.published = published;
}
public String getCreated() {
	return created;
}
public void setCreated(String created) {
	this.created = created;
}
public int getCategory_id() {
	return category_id;
}
public void setCategory_id(int category_id) {
	this.category_id = category_id;
}
public int getUser_id() {
	return user_id;
}
public void setUser_id(int user_id) {
	this.user_id = user_id;
}
public Article(String name, String description, String content, int published,
		String created, int category_id, int user_id) {
	super();
	this.name = name;
	this.description = description;
	this.content = content;
	this.published = published;
	this.created = created;
	this.category_id = category_id;
	this.user_id = user_id;
}
public Article(){
	
}
}
